json.result    true
json.message   "获取门店验证信息成功."
json.data      do
  json.id             @shop.id
  json.name           @shop.name
  json.contact_name   @shop.contact_name
  json.contact_phone  @shop.contact_phone
  json.province_id    @shop.province_id
  json.city_id        @shop.city_id
  json.district_id    @shop.district_id
  json.province       @shop.province.blank? ? "" : @shop.province.name
  json.city           @shop.city.blank? ? "" : @shop.city.name
  json.district       @shop.district.blank? ? "" : @shop.district.name
  json.address        @shop.address
  json.avatar         has_image?(@shop.avatar.url)
  json.big_avatar     has_image?(@shop.big_avatar.url)
  json.idcard_front   has_image?(@shop.idcard_front.url)
  json.idcard_back    has_image?(@shop.idcard_back.url)
  json.license        has_image?(@shop.license.url)
end